package com.zlfund.cat.demo;

import android.content.Context;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.view.View;

/**
 * Created by chenj
 * Created on 2017/7/20
 */

public class AnimViewPager extends ViewPager {
    public AnimViewPager(Context context) {
        super(context);
    }

    public AnimViewPager(Context context, AttributeSet attrs) {
        super(context, attrs);

    }

    @Override
    public void setPageTransformer(boolean reverseDrawingOrder, PageTransformer transformer) {
        super.setPageTransformer(reverseDrawingOrder, transformer);
    }

    class AnimTransform implements PageTransformer {

        @Override
        public void transformPage(View page, float position) {

        }
    }
}
